// 导入layout
import Layout from '@/layout'

export default {
  path: '/employees',
  component: Layout,
  children: [
    {
      // 如果子路由为'',name会自动匹配
      path: '',
      name: 'employees',
      // 配置懒加载
      component: () => import('@/views/employees/employees.vue'),
      meta: { title: '员工管理', icon: 'people' }
    }
  ]
}
